﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Logic.Interface;
using Magic;

namespace Logic
{
    public class T4CMouse : IUpdatable
    {
        public int OverID { get; set; }
        public string Clicked { get; set; }

        public void Update(IParameter parameters)
        {
            PlayerParameters player = (PlayerParameters)parameters;
            OverID = SMemory.ReadInt(player.Handle, 0x08E6430);
            Clicked = SMemory.ReadASCIIString(player.Handle, 0x6E3834, 10);
        }
    }
}
